package com.hspedu.extends_;

public class Computer {

    private String CPU;
    private String intSto;
    private String hard_disk;

    public Computer(String CPU, String intSto, String hard_disk) {
        this.CPU = CPU;
        this.intSto = intSto;
        this.hard_disk = hard_disk;
    }
    public Computer() {
    }

    public void setCPU(String CPU) {
        this.CPU = CPU;
    }

    public String getCPU() {
        return CPU;
    }

    public String getIntSto() {
        return intSto;
    }

    public String getHard_disk() {
        return hard_disk;
    }

    public void setIntSto(String intSto) {
        this.intSto = intSto;
    }

    public void setHard_disk(String hard_disk) {
        this.hard_disk = hard_disk;
    }

    public String getDetails() {
        return "CPU=" + getCPU() + " intSto=" + getIntSto() + " hard_disk=" + getHard_disk() ;
    }
}


